package com.jege.jpa.many2many;

import javax.persistence.*;

/**
 * Created by ange on 2017/2/24.
 */
@Entity
@Table(name = "permium")
@PrimaryKeyJoinColumn(referencedColumnName = "id")
public class Permium extends User{

    private Integer point;

    @Basic
    @Column(name = "point")
    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }
}
